<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>导波检测列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<%@ include file="../jslib/jquerylib.jsp" %> 
	<link rel="stylesheet" type="text/css" href="<%=path %>/web/style/layout.css" />
    <script type="text/javascript" src="<%=path %>/jslib/jquery.validate.min.js"></script>
	
  </head>
  
  <body>
    <table id="gridTable"></table>
    <div id="gridPager"></div>
  </body>
  <script type='text/javascript'>
		//导波检测列表
		  $("#gridTable").jqGrid({
			url:'<%=request.getContextPath() %>/pipePointAction!queryDaobojianceList.action?tzid=<%=request.getParameter("tzid")%>',
			datatype: "json",
			height: 150,
			width: 1000, 
			//colNames:['主键','特征点编号','特征点名称','地面标志情况','坐标Y','坐标X','高程h','经度L','纬度B','椭球高H','备注','管线编号','管段编号','填写单位','填写人'],
			colNames:['主键','任务编号','管线编号','管网编号','位置编号',
			'检测位置','类型','管道外径(mm)','管道壁厚(mm)','坐标Y',		
			'坐标X','高程h','经度L','纬度B','椭球高H',
			'检测日期','检测单位','检测人员','设备名称及型号','设备编号',
			'探头编号','检测方法','序号','检测结果','附件'														
],				
			
  																						
			colModel:[
				{name:'ID',index:'ID', width:70,key:true,hidden:true}, 
				{name:'TASKNO',index:'ORG_NO', width:100}, 
				{name:'PIPELINENO',index:'ORG_NO', width:100}, 
				{name:'PIPENO',index:'ORG_NO', width:100}, 
				{name:'LOCATIONNO',index:'ORG_NO', width:100},
				{name:'LOCATIONDESCRIPTION',index:'ORG_NO', width:100},
				{name:'TYPE',index:'ORG_NO', width:100},
				{name:'OUTERDIAMETER',index:'ORG_NO', width:100},
				{name:'WALLTHICKNESS',index:'ORG_NO', width:100},
				{name:'LOCATIONY',index:'ORG_NO', width:100},
				{name:'LOCATIONX',index:'ORG_NO', width:100},
				{name:'HEIGHT',index:'ORG_NO', width:100},
				{name:'LONGITUDE',index:'ORG_NO', width:100},
				{name:'LATITUDE',index:'ORG_NO', width:100},
				{name:'ELLIPSEH',index:'ORG_NO', width:100},
				{name:'TESTDATE',index:'ORG_NO', width:100},
				{name:'TESTUNIT',index:'ORG_NO', width:100},
				{name:'TESTER',index:'ORG_NO', width:100},
				{name:'DEVICENAMEMODEL',index:'ORG_NO', width:100},
				{name:'DEVICENO',index:'ORG_NO', width:100},
				{name:'PROBENO',index:'ORG_NO', width:100},
				{name:'TESTMETHOD',index:'ORG_NO', width:100},
				{name:'SERIALNO',index:'ORG_NO', width:100},
				{name:'TESTRESULT',index:'ORG_NO', width:100},
				{name:'ATTACHMENT',index:'ORG_NO', width:100}
			],   
			shrinkToFit:false,
			sortname:'ID',
			sortorder:'asc',
			viewrecords:true,
			multiselect: true, // 是否显示复选框
			multiboxonly : true, 
			rownumbers: false,//显示行号
		    cellEdit: false,
			forceFit : true, 
			rowNum:200,
			mtype: "POST", 
			rowList:[15,20,50,200,500],
			toolbar: [false,"top"],
			jsonReader: {
				root:"rows",		// 数据行（默认为：rows）
				page: "page",  	// 当前页
				total: "total",  // 总页数
				records: "records",  // 总记录数
				repeatitems : false		// 设置成false，在后台设置值的时候，可以乱序。且并非每个值都得设
			},
			prmNames:{rows:"rows",page:"page",sort:"sidx",order:"sord",search:"search"},
			pager:"#gridPager",
			caption: "导波检测列表"
		});
		jQuery("#gridTable").jqGrid('navGrid','#gridPager',{add:false,edit:false,del:false,search:false,refresh:false});	 
	</script>
	
  
</html>
